package enumerated;

import net.mindview.util.Enums;

/**
 * @author 杨宇
 * @version 1.0 2017/1/16.
 */
public class RandomTest {
    public static void main(String[] args) {
        for(int i = 0; i < 20; i++)
            System.out.print(Enums.random(Activity.class) + " ");
    }
}

enum Activity {
    SITTING, LYING, STANDING, HOPPING,
    RUNNING, DODGING, JUMPING, FALLING, FLYING
}